package cn.tedu.vehicle_rental.vehicle.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.math.BigDecimal;
import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@TableName("vehicle")
public class VehiclePO {
    @ApiModelProperty("车辆id")
    @TableId(type = IdType.AUTO)
    Long id;
    @ApiModelProperty("车辆品牌")
    String brand;
    @ApiModelProperty("车牌号")
    String license;
    @ApiModelProperty("车辆型号")
    String model;
    @ApiModelProperty("车辆排量")
    String displacement;
    @ApiModelProperty("车辆能源类型")
    String energyType;
    @ApiModelProperty("车辆类型")
    String type;
    @ApiModelProperty("车辆颜色")
    String color;
    @ApiModelProperty("里程数")
    int kilometers;
    @ApiModelProperty("日租金")
    BigDecimal pricePerDay;
    @ApiModelProperty("车辆等级")
    String level;
    @ApiModelProperty("创建时间")
    Date createTime;
    @ApiModelProperty("更新时间")
    Date updateTime;
    @ApiModelProperty("用车时间")
    String schedule;
    @ApiModelProperty("车辆图片")
    String imgUrl;

}
